package com.innovation.chengzhangriji.ui.adapter;

import android.view.LayoutInflater;
import android.view.View;

import com.innovation.chengzhangriji.R;
import com.innovation.chengzhangriji.ui.widget.CuteTextView;

public class DTMilestoneViewHolder extends DTHolder {

    private CuteTextView textMilestone;

    public DTMilestoneViewHolder(View itemView) {
        super(itemView);
        View view = LayoutInflater.from(itemView.getContext()).inflate(R.layout.item_discover_milestone, getContent());
        textMilestone = (CuteTextView) view.findViewById(R.id.text_milestone);
    }

    public void setMilestone(String text) {
        textMilestone.setText(text);
    }
}
